===== Part 1 of 2 (as shown in the lesson) =====
if (shake > 0) {
    shake -= 0.3;
    var cam = view_camera[0];
    // static vars capture the camera's resting position once, so the
    // wobble always offsets FROM there instead of overwriting it
    static base_x = camera_get_view_x(cam);
    static base_y = camera_get_view_y(cam);
    camera_set_view_pos(cam,
        base_x + random_range(-shake, shake),
        base_y + random_range(-shake, shake));
}

===== Part 2 of 2 (as shown in the lesson) =====
if (instance_number(obj_brick) == 0) {
    room_goto(rm_win);
}

/// serve delay, obj_ball Create:
hspeed = 0; vspeed = 0;
alarm[0] = 60;              // fires in 1 second

/// obj_ball · Alarm 0 event:
hspeed = choose(-4, 4);
vspeed = -4;